<script>

export default {
  data() {
    return {
    }
  },
  created() {
    this.getSelf();
  },
  methods: {
    getSelf(){
      // /user-account-web/userAccount/getSelf
      this.$kt.requestSecurity.send({
        uri: "/user-account-web/userAccount/getSelf",
        stateSuccess: (res) => {
          this.userSelf = res.data;
        },
        stateFail: (err) => {
          if (err.stateCode !== "notLogin") {
            this.$message.error(err.errMsg);
            return;
          }
          this.$router.push("/login/body");
        }
      });
    }
  }
}

</script>

<template>
</template>

<style scoped lang="scss">

</style>